import { ApiProperty } from '@nestjs/swagger';

export class CreateUserDto {
  @ApiProperty({
    description: '用户名',
    minLength: 1,
    maxLength: 10,
    example: 'hjdd',
  })
  username: string;
  @ApiProperty({
    description: '密码',
    example: '123456',
  })
  password: string;
}
